package com.aboverock.module.system.service;

import java.util.Map;

/**
 * The Interface ValidatorService.
 *
 * @author Rock Wang
 */
public interface ValidatorService {

    /**
     * 查询符合conditions条件（如果id不为空，排除该条数据）的数据数目.
     *
     * @param tableName the table name
     * @param conditions the conditions
     * @param id the id
     * @return the int
     */
    public int selectCount(String tableName, Map<String, Object> conditions, Object id);

}
